﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    Inherits="Product_UOM_Maintain" CodeFile="Product_UOM_Maintain.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <title>产品规格转换</title>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table id="wsd_inputtable">
            <tr>
                <td colspan="2" class="tabletitle" >
                <font color="red" size="2"><b>提示:*为必填项</b></font>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                     
                    
                </td>
            </tr>
            <tr>
                <td class="tablefield"  style="width: 30%" >
                    <span class="keyword">*</span>规格名称:
                </td>
                <td>
                    <asp:DropDownList ID="ddlUoms" runat="server" Width="150">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="ddlUoms"
                         runat="server" ErrorMessage="规格名称不能为空"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield"  style="width: 30%">
                    <span class="keyword">*</span>规格转换:
                </td>
                <td>
                    <asp:TextBox class="default"    id="txtNum" type="text" runat="server" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtNum"
                        runat="server" ErrorMessage="规格转换不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"  ErrorMessage="规格转换应为数字" ValidationExpression="^(\d{1,3}(,\d\d\d)*(\.\d+)?|\d+(\.\d+)?)$"
                        ControlToValidate="txtNum"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" >
                    重量(KG):
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox class="default"  id="txtWeight" type="text" runat="server" />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"  ErrorMessage="重量应为数字" ValidationExpression="^(\d{1,3}(,\d\d\d)*(\.\d+)?|\d+(\.\d+)?)$"
                        ControlToValidate="txtWeight"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" >
                    体积(M3):
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox  class="default" id="txtVol" type="text" runat="server" />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server"  ErrorMessage="体积应为数字" ValidationExpression="^(\d{1,3}(,\d\d\d)*(\.\d+)?|\d+(\.\d+)?)$"
                        ControlToValidate="txtVol"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" >
                    是否出售:
                </td>
                <td nowrap="nowrap">
                    <asp:CheckBox ID="cbxSelllFlag" runat="server" Checked="True" />
                </td>
            </tr>
            <tr>
                <td class="tablefield" >
                    有效:
                </td>
                <td nowrap="nowrap">
                    <asp:CheckBox ID="cbxIsValid" runat="server" Checked="True" />
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    操作选项
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                    <asp:Button ID="btnSave" runat="server" class="wsd_button2" Text="提  交" OnClick="btnSave_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" class="wsd_button2" Text="返  回" CausesValidation="false"  OnClick="btnCancel_Click" />
                </td>
            </tr>
        </table>
    </div>
 </asp:Content>
